<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="/static/erp/css/custom.css" media="all">
</head>
<body>
	<form class="layui-form layui-fluid" style="margin-top: 15px;">
		<input id="id" name="id" type="hidden" value="${(entity.id)!}"/>
		<input id="version" name="version" type="hidden" value="${(entity.version)!}"/>

		<div class="layui-row layui-col-space10 layui-form-item">
			<div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
				<label class="layui-form-label">关键字</label>
				<div class="layui-input-block">
					<select  id ="sharesKey" name="sharesKey" class="form-control my-auto-loading-data"  value="${(entity.sharesKey)!}">
						<option value="current_price" <#if (entity.sharesKey)??><#if entity.sharesKey=='current_price'>selected</#if></#if>>当前价格</option>
						<option value="net_assets" <#if (entity.sharesKey)??><#if entity.sharesKey=='net_assets'>selected</#if></#if>>每股净资产</option>
						<option value="debt_ratio" <#if (entity.sharesKey)??><#if entity.sharesKey=='debt_ratio'>selected</#if></#if>>负债率</option>
						<option value="increase" <#if (entity.sharesKey)??><#if entity.sharesKey=='increase'>selected</#if></#if>>涨幅</option>
					</select>
				</div>
			</div>
		</div>

		<div class="layui-row layui-col-space10 layui-form-item">
			<div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
				<label class="layui-form-label">XPath</label>
				<div class="layui-input-block">
					<input id="xpath" name="xpath"  value="${(entity.xpath)!}"
						lay-verify="xpath" placeholder="请输入xpath获取值的地址" autocomplete="off" class="layui-input"  />
				</div>
			</div>
		</div>

		<div class="layui-row layui-col-space10 layui-form-item">
			<div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
				<label class="layui-form-label">位置</label>
				<div class="layui-input-block">
					<input id="serialNumber" name="serialNumber"  value="${(entity.serialNumber)!}"
						lay-verify="serialNumber" placeholder="请输入元素所在的位置" autocomplete="off" class="layui-input"  />
				</div>
			</div>
		</div>

		<div class="layui-row layui-col-space10 layui-form-item">
			<div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
				<label class="layui-form-label">正则表达式</label>
				<div class="layui-input-block">
					<input id="regex" name="regex"  value="${(entity.regex)!}"
						lay-verify="regex" placeholder="请输入正则表达式" autocomplete="off" class="layui-input"  />
				</div>
			</div>
		</div>

		<div class="layui-form-item custom-edit-button">
			<button class="layui-btn" lay-filter="ok" lay-submit>确认</button>
			<button class="layui-btn layui-btn-primary"  onclick="CommonUtil.layuiCloseCurrentLayer();">取消</button>
		</div>
	</form>
</body>
<script src="/static/layuiadmin/layui/layui.js"></script>
<script src="/static/erp/common/common.js"></script>
<script src="/static/erp/common/dictionary.js" type="text/javascript"></script>
<script src="/static/erp/js/logic/logicSharesXpathDetail/logicSharesXpathDetail_edit.js"></script>
</html>
